package com.wst.wst_server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyk
 * @since 2023-03-24
 */
@ApiModel(value = "Person对象", description = "")
public class Person implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("人员id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("所属科室id")
    private Integer sectionId;

    @ApiModelProperty("所属机构id")
    private Integer orgId;

    @ApiModelProperty("姓名")
    private String repManName;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("出生年月日")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthDate;

    @ApiModelProperty("学历")
    private String folk;

    @ApiModelProperty("政治面貌")
    private String pol;

    @ApiModelProperty("电话")
    private String mobile;

    @ApiModelProperty("工作电话")
    private String workTel;

    @ApiModelProperty("email")
    private String email;

    @ApiModelProperty("学历")
    private String edu;

    @ApiModelProperty("毕业学校")
    private String graCollege;

    @ApiModelProperty("所选专业")
    private String choiceSpe;

    @ApiModelProperty("所学专业")
    private String spe;

    @ApiModelProperty("建所前从事专业")
    private String beforeSpe;

    @ApiModelProperty("何时参加工作")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate beginWorkDate;

    @ApiModelProperty("职务")
    private String manageJob;

    @ApiModelProperty("职级：0无、1省部级正职、2省部级副职、3厅局级正职、4厅局级副职、5县处级正职、6县处级副职、7乡科级正职、8乡科级副职、9科办员")
    private Integer jobLevel;

    @ApiModelProperty("职称：初级（1医（2技）师、3助理政工师、4助理工程师、5助理会计师、6研究实习员），中级（6主管（7治）8医（9技）师、10政工师、11馆员、12工程师、13会计师），副高（14副主任医（15技）师、16高级政工师、17高级会计师），正高（19主任医（20技）师），21无职称，22未聘任专业技术职务，23不详。")
    private Integer title;

    @ApiModelProperty("何时进卫生监督所")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate getInDate;

    @ApiModelProperty("职务：：1所(局)长、2党委(副)书记、3副所(局)长、4科室主任、5科室副主任、6无职务")
    private Integer perPro;

    @ApiModelProperty("是否为在编人员1是  0否")
    private Integer perType;

    @ApiModelProperty("行政执法证号")
    private String enfCardNo;

    @ApiModelProperty("何时取得行政执法证")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate getCardDate;

    @ApiModelProperty("目前持有的有效的监督员证号")
    private String healthPerNo;

    @ApiModelProperty("何时取得卫生监督员资格")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate getQuaDate;

    @ApiModelProperty("卫生监督胸牌号")
    private String healthCardNo;

    @ApiModelProperty("所持有效监督员证的有效时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate cardDay;

    @ApiModelProperty("人员性质：1聘用制干部，2聘用制工人，3固定干部，4固定工人，5其他。")
    private Integer ifStaffPer;

    @ApiModelProperty("类别：1：监督人员；2：协查人员；9：不详")
    private Integer perCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getSectionId() {
        return sectionId;
    }

    public void setSectionId(Integer sectionId) {
        this.sectionId = sectionId;
    }
    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }
    public String getRepManName() {
        return repManName;
    }

    public void setRepManName(String repManName) {
        this.repManName = repManName;
    }
    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
    public LocalDate getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(LocalDate birthDate) {
        this.birthDate = birthDate;
    }
    public String getFolk() {
        return folk;
    }

    public void setFolk(String folk) {
        this.folk = folk;
    }
    public String getPol() {
        return pol;
    }

    public void setPol(String pol) {
        this.pol = pol;
    }
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getWorkTel() {
        return workTel;
    }

    public void setWorkTel(String workTel) {
        this.workTel = workTel;
    }
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getEdu() {
        return edu;
    }

    public void setEdu(String edu) {
        this.edu = edu;
    }
    public String getGraCollege() {
        return graCollege;
    }

    public void setGraCollege(String graCollege) {
        this.graCollege = graCollege;
    }
    public String getChoiceSpe() {
        return choiceSpe;
    }

    public void setChoiceSpe(String choiceSpe) {
        this.choiceSpe = choiceSpe;
    }
    public String getSpe() {
        return spe;
    }

    public void setSpe(String spe) {
        this.spe = spe;
    }
    public String getBeforeSpe() {
        return beforeSpe;
    }

    public void setBeforeSpe(String beforeSpe) {
        this.beforeSpe = beforeSpe;
    }
    public LocalDate getBeginWorkDate() {
        return beginWorkDate;
    }

    public void setBeginWorkDate(LocalDate beginWorkDate) {
        this.beginWorkDate = beginWorkDate;
    }
    public String getManageJob() {
        return manageJob;
    }

    public void setManageJob(String manageJob) {
        this.manageJob = manageJob;
    }
    public Integer getJobLevel() {
        return jobLevel;
    }

    public void setJobLevel(Integer jobLevel) {
        this.jobLevel = jobLevel;
    }
    public Integer getTitle() {
        return title;
    }

    public void setTitle(Integer title) {
        this.title = title;
    }
    public LocalDate getGetInDate() {
        return getInDate;
    }

    public void setGetInDate(LocalDate getInDate) {
        this.getInDate = getInDate;
    }
    public Integer getPerPro() {
        return perPro;
    }

    public void setPerPro(Integer perPro) {
        this.perPro = perPro;
    }
    public Integer getPerType() {
        return perType;
    }

    public void setPerType(Integer perType) {
        this.perType = perType;
    }
    public String getEnfCardNo() {
        return enfCardNo;
    }

    public void setEnfCardNo(String enfCardNo) {
        this.enfCardNo = enfCardNo;
    }
    public LocalDate getGetCardDate() {
        return getCardDate;
    }

    public void setGetCardDate(LocalDate getCardDate) {
        this.getCardDate = getCardDate;
    }
    public String getHealthPerNo() {
        return healthPerNo;
    }

    public void setHealthPerNo(String healthPerNo) {
        this.healthPerNo = healthPerNo;
    }
    public LocalDate getGetQuaDate() {
        return getQuaDate;
    }

    public void setGetQuaDate(LocalDate getQuaDate) {
        this.getQuaDate = getQuaDate;
    }
    public String getHealthCardNo() {
        return healthCardNo;
    }

    public void setHealthCardNo(String healthCardNo) {
        this.healthCardNo = healthCardNo;
    }
    public LocalDate getCardDay() {
        return cardDay;
    }

    public void setCardDay(LocalDate cardDay) {
        this.cardDay = cardDay;
    }
    public Integer getIfStaffPer() {
        return ifStaffPer;
    }

    public void setIfStaffPer(Integer ifStaffPer) {
        this.ifStaffPer = ifStaffPer;
    }
    public Integer getPerCode() {
        return perCode;
    }

    public void setPerCode(Integer perCode) {
        this.perCode = perCode;
    }

    @Override
    public String toString() {
        return "Person{" +
            "id=" + id +
            ", sectionId=" + sectionId +
            ", orgId=" + orgId +
            ", repManName=" + repManName +
            ", gender=" + gender +
            ", birthDate=" + birthDate +
            ", folk=" + folk +
            ", pol=" + pol +
            ", mobile=" + mobile +
            ", workTel=" + workTel +
            ", email=" + email +
            ", edu=" + edu +
            ", graCollege=" + graCollege +
            ", choiceSpe=" + choiceSpe +
            ", spe=" + spe +
            ", beforeSpe=" + beforeSpe +
            ", beginWorkDate=" + beginWorkDate +
            ", manageJob=" + manageJob +
            ", jobLevel=" + jobLevel +
            ", title=" + title +
            ", getInDate=" + getInDate +
            ", perPro=" + perPro +
            ", perType=" + perType +
            ", enfCardNo=" + enfCardNo +
            ", getCardDate=" + getCardDate +
            ", healthPerNo=" + healthPerNo +
            ", getQuaDate=" + getQuaDate +
            ", healthCardNo=" + healthCardNo +
            ", cardDay=" + cardDay +
            ", ifStaffPer=" + ifStaffPer +
            ", perCode=" + perCode +
        "}";
    }
}
